package com.jackstraw.jack_base.datasource.common.entity;

import com.jackstraw.jack_base.util.entity.BaseEntity;
import lombok.Data;

/**
 * 对外提供服务的类
 *
 * @param <T>  真正对外提供服务的类
 * @param <PE> 配置文件类
 */
@Data
public abstract class AbstractTemplate<T extends AbstractTemplate<T, PE>, PE extends AbstractPropertiesEntity<PE>>
        extends BaseEntity<T> {

    private PE propertiesEntity;

    public abstract Object get();

    public void destroy() {

    }

}
